package com.hnust.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface QuestionTypeDao {
	//根据题目类型号获取题目类型id
	@Select("select que_typ_id from question_type where type=#{queTyp}")
	String getQeuTypIdByQueTyp(Integer queTyp);
}
